﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CVM.Core.Entities;

namespace CVM.View.List
{
    public partial class CandidatesList : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadList();
        }

        private void LoadList()
        {
            //List<Candidate> source = new CandidateService().GetAllCandidates();
            //List<CandidateView> sourceView = new List<CandidateView>();

            //foreach (Candidate c in source)
            //{
            //    CandidateView cview = new CandidateView(c);
            //    sourceView.Add(cview);
            //}

            //rpList.DataSource = sourceView;
            //rpList.DataBind();
        }
    }
}